/*
 * Created on 01/05/2008
 */

package com.apbetioli.mapr.project.dao;

import com.apbetioli.mapr.project.entity.Project;
import java.util.List;
import javax.persistence.EntityTransaction;

/**
 *
 * @author Alexandre Parra Betioli
 */
public interface ProjectsDaoInterface {

    EntityTransaction getTransaction();
    
    Project save( final Project project );
    Project delete( final String key );
    Project findByKey( final String key );
    Project findByName( final String name );
    Project findByEmail( final String email );
    List<Project> listAll();
}
